package org.example.springboot.service;

import org.example.springboot.common.page.PageResult;
import org.example.springboot.common.service.BaseService;
import org.example.springboot.common.utils.Result;
import org.example.springboot.entity.FmcControl;
import org.example.springboot.query.FmcControlQuery;
import org.example.springboot.vo.FmcControlVO;

public interface FmcControlService extends BaseService<FmcControl> {

    Result<String> sendMessageToMqtt(FmcControl fmcControl);

    void upStatusData(String message);

    PageResult<FmcControlVO> page(FmcControlQuery query);
}